import request from '@/utils/request'

//病人建档
export function savePatient(data) {
  return request({
    url: '/dr/patient/add',
    method: 'post',
    data
  })
}
//查询病人信息
export function selectPatient(data) {
  return request({
    url: '/dr/patient/list',
    method: 'post',
    data
  })
}
//预约接诊
export function treatReception(data) {
  return request({
    url: '/dr/treat/reception',
    method: 'post',
    data
  })
}
//预约列表
export function getAppointment(data) {
  return request({
    url: 'dr/appt/list',
    method: 'post',
    data
  })
}
